This is a corner-case, and it is causing crashes in
the shortcuts window, after
a11ab6c995a38fde0eba.
was_visible = gtk_widget_get_visible (child);
if (priv->visible_child == child_info)
- {
- if (in_dispose)
- priv->visible_child = NULL;
- else
- set_visible_child (stack, NULL, priv->transition_type, priv->transition_duration);
- }
+ priv->visible_child = NULL;
if (priv->last_visible_child == child_info)
priv->last_visible_child = NULL;